﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Benefit.Models.Day;

namespace Benefit.Interface.Day
{
    public interface IDayTradeInfo
    {


        /// <summary>
        /// 删除当日分时记录
        /// </summary>
        /// <param name="tradeHistoryId"></param>
        void Delete(int tradeHistoryId);

        /// <summary>
        /// 保存账号分时数据OK
        /// </summary>
        /// <param name="tradeHistoryId">插入时间编号</param>
        /// <param name="pdate">插入时间</param>
        void InitDayStateChange(int tradeHistoryId, string pdate);

        /// <summary>
        /// 查询账户某天的分时交易信息
        /// </summary>
        /// <param name="tradeHistoryId"></param>
        /// <param name="accountid"></param>
        /// <returns></returns>
        List<Models.Day.DayTradeInfo> GetAccountDayTradeInfos(int tradeHistoryId, int accountid);
        /// <summary>
        /// 查询账户某天的分时交易信息
        /// </summary>
        /// <param name="tradeHistoryId"></param>
        /// <param name="accountid"></param>
        /// <returns></returns>
        List<Models.Day.DayTradeInfo> GetAccountDayTradeInfos(int tradeHistoryId, int accountid, bool win);

    }
}